package com.chixing.ih.module.programmer.pojo.dto;

import com.chixing.ih.module.programmer.pojo.Programmer;
import com.chixing.ih.module.programmer.pojo.Work;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Description:
 *
 * @version 1.0
 * @Author MasterYan
 * @Date 2020/10/5
 * Time: 21:14
 */
@Accessors(chain = true)
@Data
public class PGHomePageDTO {

    private Programmer programmer;
    private Work work;
    private String imageUrl;
    private Double starRating;
    private Long fabulousNum;
    private Integer fabulousStatus;
    private Long followerNum;
    private Integer followStatus;
    private Long fanNum;
    private Long pageViews;
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date pageUpdateTime;
}
